package com.ruoyix.im.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyix.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 单聊记录对象 im_chat_user_message
 *
 * @author ruoyi
 * @date 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("im_chat_user_message")
public class ImChatUserMessage extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 发送ID
     */
    private Long fromId;
    /**
     * 接收ID
     */
    private Long toId;
    /**
     * 内容
     */
    private String content;
    /**
     * 是否已读[0:未读，1:已读]
     */
    private Integer messageStatus;

}
